<?php defined('SYSPATH') or die('No direct script access.');?>
<?php echo Form::label('name', 'Name: ');?>
<?php echo Form::label('name', $profile->first_name);?> 
<?php echo Form::label('name', $profile->last_name);?><br><br>

<?php echo Form::label('email', 'Email Address: ');?>
<?php echo Form::label('email', $profile->email);?><br><br>
<?php foreach($addresses as $address): ?>
	<?php if ($address->shipping){
				echo Form::label('address', 'Primary Shipping Address: ');?><br>
				<?php echo $address->street;?><br><br><?php 
			} 	
		  elseif($address->billing){
				echo Form::label('address', 'Primary Billing Address: ');?><br>
				<?php echo $address->street; ?> <br><br><?php
			} ?>
<?php endforeach; ?>